home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EuroCD 3
/
EuroCD 3.iso
/
Programming
/
SecalDemo
/
Inc
/
graphics
/
modeid.inc
< prev
next >
Wrap
Text File
|
1998-06-24
|
10KB
|
278 lines
include "inc/graphics/displayinfo.inc";
def INVALID_ID = ~0;
def MONITOR_ID_MASK = $ffff1000;
def DEFAULT_MONITOR_ID = $00000000;
def NTSC_MONITOR_ID = $00011000;
def PAL_MONITOR_ID = $00021000;
def LORES_KEY = $00000000;
def HIRES_KEY = $00008000;
def SUPER_KEY = $00008020;
def HAM_KEY = $00000800;
def LORESLACE_KEY = $00000004;
def HIRESLACE_KEY = $00008004;
def SUPERLACE_KEY = $00008024;
def HAMLACE_KEY = $00000804;
def LORESDPF_KEY = $00000400;
def HIRESDPF_KEY = $00008400;
def SUPERDPF_KEY = $00008420;
def LORESLACEDPF_KEY = $00000404;
def HIRESLACEDPF_KEY = $00008404;
def SUPERLACEDPF_KEY = $00008424;
def LORESDPF2_KEY = $00000440;
def HIRESDPF2_KEY = $00008440;
def SUPERDPF2_KEY = $00008460;
def LORESLACEDPF2_KEY = $00000444;
def HIRESLACEDPF2_KEY = $00008444;
def SUPERLACEDPF2_KEY = $00008464;
def EXTRAHALFBRITE_KEY = $00000080;
def EXTRAHALFBRITELACE_KEY = $00000084;
def HIRESHAM_KEY = $00008800;
def SUPERHAM_KEY = $00008820;
def HIRESEHB_KEY = $00008080;
def SUPEREHB_KEY = $000080a0;
def HIRESHAMLACE_KEY = $00008804;
def SUPERHAMLACE_KEY = $00008824;
def HIRESEHBLACE_KEY = $00008084;
def SUPEREHBLACE_KEY = $000080a4;
def LORESSDBL_KEY = $00000008;
def LORESHAMSDBL_KEY = $00000808;
def LORESEHBSDBL_KEY = $00000088;
def HIRESHAMSDBL_KEY = $00008808;
def VGA_MONITOR_ID = $00031000;
def VGAEXTRALORES_KEY = $00031004;
def VGALORES_KEY = $00039004;
def VGAPRODUCT_KEY = $00039024;
def VGAHAM_KEY = $00031804;
def VGAEXTRALORESLACE_KEY = $00031005;
def VGALORESLACE_KEY = $00039005;
def VGAPRODUCTLACE_KEY = $00039025;
def VGAHAMLACE_KEY = $00031805;
def VGAEXTRALORESDPF_KEY = $00031404;
def VGALORESDPF_KEY = $00039404;
def VGAPRODUCTDPF_KEY = $00039424;
def VGAEXTRALORESLACEDPF_KEY = $00031405;
def VGALORESLACEDPF_KEY = $00039405;
def VGAPRODUCTLACEDPF_KEY = $00039425;
def VGAEXTRALORESDPF2_KEY = $00031444;
def VGALORESDPF2_KEY = $00039444;
def VGAPRODUCTDPF2_KEY = $00039464;
def VGAEXTRALORESLACEDPF2_KEY = $00031445;
def VGALORESLACEDPF2_KEY = $00039445;
def VGAPRODUCTLACEDPF2_KEY = $00039465;
def VGAEXTRAHALFBRITE_KEY = $00031084;
def VGAEXTRAHALFBRITELACE_KEY = $00031085;
def VGAPRODUCTHAM_KEY = $00039824;
def VGALORESHAM_KEY = $00039804;
def VGAEXTRALORESHAM_KEY = VGAHAM_KEY;
def VGAPRODUCTHAMLACE_KEY = $00039825;
def VGALORESHAMLACE_KEY = $00039805;
def VGAEXTRALORESHAMLACE_KEY = VGAHAMLACE_KEY;
def VGAEXTRALORESEHB_KEY = VGAEXTRAHALFBRITE_KEY;
def VGAEXTRALORESEHBLACE_KEY = VGAEXTRAHALFBRITELACE_KEY;
def VGALORESEHB_KEY = $00039084;
def VGALORESEHBLACE_KEY = $00039085;
def VGAEHB_KEY = $000390a4;
def VGAEHBLACE_KEY = $000390a5;
def VGAEXTRALORESDBL_KEY = $00031000;
def VGALORESDBL_KEY = $00039000;
def VGAPRODUCTDBL_KEY = $00039020;
def VGAEXTRALORESHAMDBL_KEY = $00031800;
def VGALORESHAMDBL_KEY = $00039800;
def VGAPRODUCTHAMDBL_KEY = $00039820;
def VGAEXTRALORESEHBDBL_KEY = $00031080;
def VGALORESEHBDBL_KEY = $00039080;
def VGAPRODUCTEHBDBL_KEY = $000390a0;
def A2024_MONITOR_ID = $00041000;
def A2024TENHERTZ_KEY = $00041000;
def A2024FIFTEENHERTZ_KEY = $00049000;
def PROTO_MONITOR_ID = $00051000;
def EURO72_MONITOR_ID = $00061000;
def EURO72EXTRALORES_KEY = $00061004;
def EURO72LORES_KEY = $00069004;
def EURO72PRODUCT_KEY = $00069024;
def EURO72HAM_KEY = $00061804;
def EURO72EXTRALORESLACE_KEY = $00061005;
def EURO72LORESLACE_KEY = $00069005;
def EURO72PRODUCTLACE_KEY = $00069025;
def EURO72HAMLACE_KEY = $00061805;
def EURO72EXTRALORESDPF_KEY = $00061404;
def EURO72LORESDPF_KEY = $00069404;
def EURO72PRODUCTDPF_KEY = $00069424;
def EURO72EXTRALORESLACEDPF_KEY = $00061405;
def EURO72LORESLACEDPF_KEY = $00069405;
def EURO72PRODUCTLACEDPF_KEY = $00069425;
def EURO72EXTRALORESDPF2_KEY = $00061444;
def EURO72LORESDPF2_KEY = $00069444;
def EURO72PRODUCTDPF2_KEY = $00069464;
def EURO72EXTRALORESLACEDPF2_KEY = $00061445;
def EURO72LORESLACEDPF2_KEY = $00069445;
def EURO72PRODUCTLACEDPF2_KEY = $00069465;
def EURO72EXTRAHALFBRITE_KEY = $00061084;
def EURO72EXTRAHALFBRITELACE_KEY = $00061085;
def EURO72PRODUCTHAM_KEY = $00069824;
def EURO72PRODUCTHAMLACE_KEY = $00069825;
def EURO72LORESHAM_KEY = $00069804;
def EURO72LORESHAMLACE_KEY = $00069805;
def EURO72EXTRALORESHAM_KEY = EURO72HAM_KEY;
def EURO72EXTRALORESHAMLACE_KEY = EURO72HAMLACE_KEY;
def EURO72EXTRALORESEHB_KEY = EURO72EXTRAHALFBRITE_KEY;
def EURO72EXTRALORESEHBLACE_KEY = EURO72EXTRAHALFBRITELACE_KEY;
def EURO72LORESEHB_KEY = $00069084;
def EURO72LORESEHBLACE_KEY = $00069085;
def EURO72EHB_KEY = $000690a4;
def EURO72EHBLACE_KEY = $000690a5;
def EURO72EXTRALORESDBL_KEY = $00061000;
def EURO72LORESDBL_KEY = $00069000;
def EURO72PRODUCTDBL_KEY = $00069020;
def EURO72EXTRALORESHAMDBL_KEY = $00061800;
def EURO72LORESHAMDBL_KEY = $00069800;
def EURO72PRODUCTHAMDBL_KEY = $00069820;
def EURO72EXTRALORESEHBDBL_KEY = $00061080;
def EURO72LORESEHBDBL_KEY = $00069080;
def EURO72PRODUCTEHBDBL_KEY = $000690a0;
def EURO36_MONITOR_ID = $00071000;
def SUPER72_MONITOR_ID = $00081000;
def SUPER72LORESDBL_KEY = $00081008;
def SUPER72HIRESDBL_KEY = $00089008;
def SUPER72SUPERDBL_KEY = $00089028;
def SUPER72LORESHAMDBL_KEY = $00081808;
def SUPER72HIRESHAMDBL_KEY = $00089808;
def SUPER72SUPERHAMDBL_KEY = $00089828;
def SUPER72LORESEHBDBL_KEY = $00081088;
def SUPER72HIRESEHBDBL_KEY = $00089088;
def SUPER72SUPEREHBDBL_KEY = $000890a8;
def DBLNTSC_MONITOR_ID = $00091000;
def DBLNTSCLORES_KEY = $00091000;
def DBLNTSCLORESFF_KEY = $00091004;
def DBLNTSCLORESHAM_KEY = $00091800;
def DBLNTSCLORESHAMFF_KEY = $00091804;
def DBLNTSCLORESEHB_KEY = $00091080;
def DBLNTSCLORESEHBFF_KEY = $00091084;
def DBLNTSCLORESLACE_KEY = $00091005;
def DBLNTSCLORESHAMLACE_KEY = $00091805;
def DBLNTSCLORESEHBLACE_KEY = $00091085;
def DBLNTSCLORESDPF_KEY = $00091400;
def DBLNTSCLORESDPFFF_KEY = $00091404;
def DBLNTSCLORESDPFLACE_KEY = $00091405;
def DBLNTSCLORESDPF2_KEY = $00091440;
def DBLNTSCLORESDPF2FF_KEY = $00091444;
def DBLNTSCLORESDPF2LACE_KEY = $00091445;
def DBLNTSCHIRES_KEY = $00099000;
def DBLNTSCHIRESFF_KEY = $00099004;
def DBLNTSCHIRESHAM_KEY = $00099800;
def DBLNTSCHIRESHAMFF_KEY = $00099804;
def DBLNTSCHIRESLACE_KEY = $00099005;
def DBLNTSCHIRESHAMLACE_KEY = $00099805;
def DBLNTSCHIRESEHB_KEY = $00099080;
def DBLNTSCHIRESEHBFF_KEY = $00099084;
def DBLNTSCHIRESEHBLACE_KEY = $00099085;
def DBLNTSCHIRESDPF_KEY = $00099400;
def DBLNTSCHIRESDPFFF_KEY = $00099404;
def DBLNTSCHIRESDPFLACE_KEY = $00099405;
def DBLNTSCHIRESDPF2_KEY = $00099440;
def DBLNTSCHIRESDPF2FF_KEY = $00099444;
def DBLNTSCHIRESDPF2LACE_KEY = $00099445;
def DBLNTSCEXTRALORES_KEY = $00091200;
def DBLNTSCEXTRALORESHAM_KEY = $00091a00;
def DBLNTSCEXTRALORESEHB_KEY = $00091280;
def DBLNTSCEXTRALORESDPF_KEY = $00091600;
def DBLNTSCEXTRALORESDPF2_KEY = $00091640;
def DBLNTSCEXTRALORESFF_KEY = $00091204;
def DBLNTSCEXTRALORESHAMFF_KEY = $00091a04;
def DBLNTSCEXTRALORESEHBFF_KEY = $00091284;
def DBLNTSCEXTRALORESDPFFF_KEY = $00091604;
def DBLNTSCEXTRALORESDPF2FF_KEY = $00091644;
def DBLNTSCEXTRALORESLACE_KEY = $00091205;
def DBLNTSCEXTRALORESHAMLACE_KEY = $00091a05;
def DBLNTSCEXTRALORESEHBLACE_KEY = $00091285;
def DBLNTSCEXTRALORESDPFLACE_KEY = $00091605;
def DBLNTSCEXTRALORESDPF2LACE_KEY = $00091645;
def DBLPAL_MONITOR_ID = $000a1000;
def DBLPALLORES_KEY = $000a1000;
def DBLPALLORESFF_KEY = $000a1004;
def DBLPALLORESHAM_KEY = $000a1800;
def DBLPALLORESHAMFF_KEY = $000a1804;
def DBLPALLORESEHB_KEY = $000a1080;
def DBLPALLORESEHBFF_KEY = $000a1084;
def DBLPALLORESLACE_KEY = $000a1005;
def DBLPALLORESHAMLACE_KEY = $000a1805;
def DBLPALLORESEHBLACE_KEY = $000a1085;
def DBLPALLORESDPF_KEY = $000a1400;
def DBLPALLORESDPFFF_KEY = $000a1404;
def DBLPALLORESDPFLACE_KEY = $000a1405;
def DBLPALLORESDPF2_KEY = $000a1440;
def DBLPALLORESDPF2FF_KEY = $000a1444;
def DBLPALLORESDPF2LACE_KEY = $000a1445;
def DBLPALHIRES_KEY = $000a9000;
def DBLPALHIRESFF_KEY = $000a9004;
def DBLPALHIRESHAM_KEY = $000a9800;
def DBLPALHIRESHAMFF_KEY = $000a9804;
def DBLPALHIRESLACE_KEY = $000a9005;
def DBLPALHIRESHAMLACE_KEY = $000a9805;
def DBLPALHIRESEHB_KEY = $000a9080;
def DBLPALHIRESEHBFF_KEY = $000a9084;
def DBLPALHIRESEHBLACE_KEY = $000a9085;
def DBLPALHIRESDPF_KEY = $000a9400;
def DBLPALHIRESDPFFF_KEY = $000a9404;
def DBLPALHIRESDPFLACE_KEY = $000a9405;
def DBLPALHIRESDPF2_KEY = $000a9440;
def DBLPALHIRESDPF2FF_KEY = $000a9444;
def DBLPALHIRESDPF2LACE_KEY = $000a9445;
def DBLPALEXTRALORES_KEY = $000a1200;
def DBLPALEXTRALORESHAM_KEY = $000a1a00;
def DBLPALEXTRALORESEHB_KEY = $000a1280;
def DBLPALEXTRALORESDPF_KEY = $000a1600;
def DBLPALEXTRALORESDPF2_KEY = $000a1640;
def DBLPALEXTRALORESFF_KEY = $000a1204;
def DBLPALEXTRALORESHAMFF_KEY = $000a1a04;
def DBLPALEXTRALORESEHBFF_KEY = $000a1284;
def DBLPALEXTRALORESDPFFF_KEY = $000a1604;
def DBLPALEXTRALORESDPF2FF_KEY = $000a1644;
def DBLPALEXTRALORESLACE_KEY = $000a1205;
def DBLPALEXTRALORESHAMLACE_KEY = $000a1a05;
def DBLPALEXTRALORESEHBLACE_KEY = $000a1285;
def DBLPALEXTRALORESDPFLACE_KEY = $000a1605;
def DBLPALEXTRALORESDPF2LACE_KEY = $000a1645;
def SPECIAL_FLAGS = (DIPF_IS_DUALPF|DIPF_IS_PF2PRI|DIPF_IS_HAM|DIPF_IS_EXTRAHALFBRITE);
def BIDTAG_DIPFMustHave = $80000001;
def BIDTAG_DIPFMustNotHave = $80000002;
def BIDTAG_ViewPort = $80000003;
def BIDTAG_NominalWidth = $80000004;
def BIDTAG_NominalHeight = $80000005;
def BIDTAG_DesiredWidth = $80000006;
def BIDTAG_DesiredHeight = $80000007;
def BIDTAG_Depth = $80000008;
def BIDTAG_MonitorID = $80000009;
def BIDTAG_SourceID = $8000000a;
def BIDTAG_RedBits = $8000000b;
def BIDTAG_BlueBits = $8000000c;
def BIDTAG_GreenBits = $8000000d;
def BIDTAG_GfxPrivate = $8000000e;